/**
 * zc Inc. Copyright (c) 2023 All Rights Reserved.
 */
package com.company.request;




import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 示例请求对象
 *
 * @author poc
 * @version : AccountSplitModel.java, v 0.1 2023年12月15日 16:11:948 poc Exp $
 */

public class SampleOneRequest implements Serializable {

    /**
     * 客户号,非空必填
     */
    private String userId;

    /**
     * 法人,非空必填
     */
    private String corporation;

    /**
     * 归属机构/开户机构,非空必填
     */
    private String instId;

    /**
     * Getter method for property <tt>userId</tt>.
     *
     * @return property value of userId
     */
    @NotEmpty(message = "客户号不能为空")
    @Size(max = 32, message = "客户号长度超限")
    public String getUserId() {
        return userId;
    }

    /**
     * Setter method for property <tt>userId</tt>.
     *
     * @param userId value to be assigned to property userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * Getter method for property <tt>corporation</tt>.
     *
     * @return property value of corporation
     */
    @NotEmpty(message = "法人不能为空")
    @Size(max = 64, message = "法人长度超限")
    public String getCorporation() {
        return corporation;
    }

    /**
     * Setter method for property <tt>corporation</tt>.
     *
     * @param corporation value to be assigned to property corporation
     */
    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    /**
     * Getter method for property <tt>instId</tt>.
     *
     * @return property value of instId
     */
    @NotEmpty(message = "机构ID不能为空")
    @Size(max = 128, message = "机构ID长度超限")
    public String getInstId() {
        return instId;
    }

    /**
     * Setter method for property <tt>instId</tt>.
     *
     * @param instId value to be assigned to property instId
     */
    public void setInstId(String instId) {
        this.instId = instId;
    }
}